/**
 * 
 */
package com.kunbo.cn.service.core.inventory;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.kunbo.cn.entity.core.inventory.Inventory;
import com.kunbo.cn.entity.core.sale.OrderCarryOver;
import com.kunbo.cn.entity.core.vo.SalesOrders;

/**
 *
 * @author bjl  
 * @date 2019年2月26日 
 */
public interface InventoryService {
	public void save(Inventory inventory);
	public void update(Inventory carryOver);
	public void delete(String id);
	public Inventory findById(String id);
	Page<Inventory> findInventory(String materType,String  curentDate,Integer pageNo,Integer pageSize);
	public List<Map<String,Object>> inventoryCount();
	public List<Map<String,Object>> showMaterTypeMes(String code, String materialType, Integer page, Integer pageSize);
	public List<Inventory>findInventorys(String material,  Integer pageNo, Integer pageSize);
	public List<Map<String,Object>> list(String material, Integer pageNo, Integer pageSize);
	//public List<SalesOrders> getSalesOrder(HttpServletRequest request,HttpServletResponse response) throws SQLException;
	//public int updateOrderNum (HttpServletRequest request,HttpServletResponse response) throws SQLException;
	//public int updateOrderMargin(HttpServletRequest request,HttpServletResponse response) throws SQLException;
	//public int editOrderMargin(HttpServletRequest request,HttpServletResponse response) throws SQLException;
	//修改审核状态0已经审核
	//public void updateExamineState(OrderCarryOver carryOver);
	//public void updateSate(OrderCarryOver carryOver);
}
